<!doctype html>
<html lang="zh">
<head>
	<meta charset="utf-8" />
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<title>唯品会Vipshop名牌时尚折扣网_旅游度假频道首页_打折酒店_旅游折扣_限时抢购_货到付款</title>
	<meta name="keywords" content="打折酒店,打折宾馆,广州周边游" />
    <meta name="description" content="唯品会旅游折扣频道提供北京、上海、广州等一二线城市打折酒店、打折宾馆信息以及广州周边旅游团购信息和丽江、三亚等著点景点旅游团购信息，欢迎致电400-6789-888" />
    <link href="<?php echo $view['staticCss']; ?>/tour/<?php echo $view['cssMainVer']; ?>/comm.css?<?php echo $view['cssVer']; ?>" rel="stylesheet" type="text/css" />
	<link href="<?php echo $view['staticCss']; ?>/tour/<?php echo $view['cssMainVer']; ?>/tour.css?<?php echo $view['cssVer']; ?>" rel="stylesheet" type="text/css" />
	
	<!-- 只允许引入两个js文件 -->
	<script src="<?php echo $view['staticJs']; ?>/jquery.js?<?php echo $view['jsVer']; ?>" type="text/javascript"></script>
	<script src="<?php echo $view['staticJs']; ?>/core.js?<?php echo $view['jsVer']; ?>" type="text/javascript"></script>
    
 	<link rel="Shortcut Icon" href="/favicon.ico" type="image/x-icon" />
</head>
<body>

<?php include($view['basePath'].'/header.html');?>

<div class="pic_focus" id="J_wrap_adRotary">
        <div class="pic_slider" id="J_wrap_adRotary_cell"></div>
        <div class="pic_sliderwrapper" id="J_wrap_adRotary_trigger">
            <span class="btn ahead"></span>
            <span class="btn next"></span>
        </div>
	</div>

<div class="tour_list base_width mgc clearfix">

	<div class="sidebar fl">
    	<div class="left_div shadow" id="J_destination">
        	<div class="subnav">
            	<div class="title list_sprite"><b>目的地</b>Destination</div>
				<?php foreach ($destinationList as $destination){ ?>
                	<a class="J_destination_name">
                    	<em class="icon list_sprite"></em>
                        <em class="text"><?php echo $destination['name'];?></em>
                    </a>
				<?php } ?>
            </div>
        </div>
    </div>

    <div class="main fr">
    	<div class="right_div shadow" id="J_mid_float">
            <div class="submenu">
            	<div class="left_menu fl">
                	<a href="/holiday-list-<?php echo $query['startCity']; ?>-0.html" class="J_product_type"><b>全部</b><em class="downangle">◆</em></a>
                    <span class="line clearfont"></span>
                    <a href="/holiday-list-0-1.html" title="随心随行的生活态度：来个轻松的短途旅行，身心释放后迎来美好的“原地复活”" class="J_product_type"><b>微旅行</b><em class="downangle">◆</em></a>
                    <span class="line clearfont"></span>
                    <a href="/holiday-list-<?php echo $query['startCity']; ?>-2.html" class="J_product_type"><b>长途游</b><em class="downangle">◆</em></a>
                    <span class="line clearfont"></span>
                </div>
                <div class="right_menu fr J_departure">
                	<em class="text"><?php echo ($query['startCityName']=='不限' ? '不限出发地' : $query['startCityName'].'出发');?></em><em class="down_icon list_sprite clearfont"></em>
                    <div class="down_list J_departure_list">
						<a href="/holiday-list-0-<?php echo $query['productType']; ?>.html">不限出发地</a>
                    <?php foreach ($departureList as $departure){ ?>
                    	<a href="/holiday-list-<?php echo $departure['cityId']; ?>-<?php echo $query['productType']; ?>.html"><?php echo $departure['cityName'] ?>出发</a>
					<?php } ?>
                    </div>
                </div>
            </div>
        </div>
        <div class="area_top_list"></div>
	<?php 
	$destinationNum = $countDown = array();
	foreach ($productList as $key => $product){ 
		$destinationNum[] =  $product['count'];
		?>
        <div class="area_list">
            <b class="al_title"><?php echo $destinationList[$key]['name']; ?></b>
			<?php foreach ($product['items'] as $sonProduct){
					  $countDown[] = $sonProduct['sell_end'];
			?>
            <div class="shadow">
            	<div class="al_bg">
                	<a href="/holiday-detail-<?php echo $sonProduct['id']; ?>.html" target="_blank" class="al_img">
                    	<img src="<?php echo $view['staticImg']; ?>/tour/loading-720.gif" data-original="<?php echo $sonProduct['list_img']; ?>" class="lazy" width="720" height="220" alt="<?php echo $sonProduct['name'];?>-<?php echo $sonProduct['sub_name'];?>" />
                        <div class="time_bg"></div>
                        <div class="time">
                        	<div class="time_icon list_sprite clearfont fl"></div>
                            <div class="time_text fl J_countdown_<?php echo $sonProduct['sell_end'];?>"></div>
                        </div>
                    </a>
                    <div class="al_content J_product_scroll" data-key="<?php echo $key; ?>">
                    	<div class="text fl">
                        	<a href="/holiday-detail-<?php echo $sonProduct['id']; ?>.html" target="_blank" class="title"><?php echo $sonProduct['name'];?></a>
                            <em class="s_title fl"><?php echo $sonProduct['sub_name'];?></em><span title="酒店" class="<?php echo ($sonProduct['product_include']['hotel'] ? 'hover' : ''); ?> s1 list_sprite clearfont fl"></span><span title="餐厅" class="<?php echo ($sonProduct['product_include']['restaurant'] ? 'hover' : ''); ?> s2 list_sprite clearfont fl"></span><span title="景区门票" class="<?php echo ($sonProduct['product_include']['scenic'] ? 'hover' : ''); ?> s3 list_sprite clearfont fl"></span><span title="机票" class="<?php echo ($sonProduct['product_include']['airplane'] ? 'hover' : ''); ?> s4 list_sprite clearfont fl"></span>
                        </div>
                        <div class="link fr">
                        	<div class="price fl">
                            	<b class="price_now">&yen;<?php echo $sonProduct['sell_price']; ?></b>
                                <p class="discount">节省了&yen;<?php echo($sonProduct['market_price'] - $sonProduct['sell_price']); ?></p>
                            </div>
                            <a href="/holiday-detail-<?php echo $sonProduct['id']; ?>.html" target="_blank" class="icon list_sprite clearfont fl"></a>
                        </div>
                    </div>
                </div>
            </div>
			<?php } ?>
		</div>
	<?php } ?>
    </div>
</div>

<script type="text/javascript">
var productList={
	'productType' : <?php echo $query['productType']; ?>
};
var destinationNum = <?php echo json_encode($destinationNum); ?>;
var countDown = <?php echo json_encode($countDown); ?>;

var inf_omniture = ['旅游频道列表页', <?php echo $query['productType']; ?>, '<?php echo $query['startCityName']; ?>'];

$.Loader
	.advScript( {
		name : 'tour-list',
		url : '<?php echo $view['staticJs']; ?>/tour/<?php echo $view['jsMainVer']; ?>/holiday-list.js?<?php echo $view['jsVer']; ?>'
	},{
		name : 'tour-head',
		url : '<?php echo $view['staticJs']; ?>/tour/<?php echo $view['jsMainVer']; ?>/header.js?<?php echo $view['jsVer']; ?>'
	}, {
		name : 'lazyload',
		url : '<?php echo $view['staticJs']; ?>/plugins/lazyload.js?<?php echo $view['jsVer']; ?>'
	}, {
		name : 'load-after',
		def : function () {$("img.lazy").lazyload({ threshold : 200 });},
		requires : ['lazyload']
	}, {
			name : 'inf',
			url : '<?php echo $view['staticJs']; ?>/tour/<?php echo $view['jsMainVer']; ?>/inf.js?<?php echo $view['jsVer']; ?>'
	}, {
			name : 'inf-2',
			def : function () { 
				$(window).load(function () {
					comm();
					list();
				});
			},
			requires : ['inf']
} );
</script>
	
<?php include($view['basePath'].'/footer.html');?>
</body>
</html>
